<a href="<?php echo site_url('admin/data_guru/tambah') ?>" class="btn btn-info btn-rounded"><i class="iconfa-plus"></i> Tambah Data Guru</a>
<br/>
<br/>

<h4 class="widgettitle nomargin shadowed">Data Guru</h4>
<table class="table table-bordered" id="dyntable">
    <colgroup>
        <col class="con1" />
        <col class="con0" />
        <col class="con1" />
        <col class="con0" />
        <col class="con1" />
    </colgroup>
    <thead>
        <tr>
            <th class="head0">Nomor Induk</th>
            <th class="head1">Nama Lengkap</th>
            <th class="head0">Golongan</th>
            <th class="head1">Jabatan</th>
            <th class="head0">Option</th>
        </tr>
    </thead>
    <tbody>
        <?php 
            foreach ($rslt_data_guru->result() as $value_data_guru)
            {
                echo '<tr>';
                echo '<td>'.$value_data_guru->nomor_induk.'</td>';
                echo '<td>'.$value_data_guru->nama_guru.'</td>';
                echo '<td>'.$value_data_guru->gol_pangkat.'</td>';
                echo '<td>'.$value_data_guru->pos_jabatan.'</td>';
                echo '<td><center>';
				echo '<a href="'.base_url('admin/data_guru/edit/'.$value_data_guru->id).'"  title="ubah"><i class="iconsweets-create"></i></a> | ';
				echo '<a href="'.base_url('admin/data_guru/hapus/'.$value_data_guru->id).'"  title="hapus"><i class="iconsweets-trashcan"></i></a>';
				echo '</center></td>';
                echo '</tr>';
            }
        ?>
    </tbody>
</table>